//
//  PickerImageAddPhotoCell.h
//  AwesomeRecorder
//
//  Created by Xing on 2019/11/29.
//  Copyright © 2019 Xing. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PickerVideo.h"

NS_ASSUME_NONNULL_BEGIN

@interface PickerVideoAddPhotoCell : UICollectionViewCell

@property(nonatomic,strong) UIImage *addIcon;
@property(nonatomic,strong) UIImage *removeIcon;
@property(nonatomic,assign) NSInteger index;
@property(nonatomic,strong) PickerVideo *videoObject;
@property(nonatomic,assign) CGFloat cornerRadius;
@property(nonatomic,assign) CGPoint removeIconOffset;
@property(nonatomic,assign) BOOL editable;

@property(nonatomic,copy) void(^cellDidClickCloseAction)(NSInteger index);

- (void) refreshWithVideoObject:(PickerVideo *)image
                isAddIcon:(BOOL)isAddIcon
                 editable:(BOOL)editable
                    index:(NSInteger)index;

@end

NS_ASSUME_NONNULL_END
